package poker;

import at.ac.tuwien.big.easyholdem.poker.Card.Rank;

public class PokerUtil
{
	public static final String DEFAULT_USER_NAME = "Gastspieler";
	public static final int DEFAULT_STACK_SIZE = 1000;
	public static final int DEFAULT_BET_SIZE = 10;

	public static String getConvertedRank(Rank rank)
	{
		String convRank = "unknown";

		switch (rank)
		{
			case ACE:
				convRank = "a";
				break;
			case KING:
				convRank = "k";
				break;
			case QUEEN:
				convRank = "q";
				break;
			case JACK:
				convRank = "j";
				break;
			case TEN:
				convRank = "10";
				break;
			case NINE:
				convRank = "9";
				break;
			case EIGHT:
				convRank = "8";
				break;
			case SEVEN:
				convRank = "7";
				break;
			case SIX:
				convRank = "6";
				break;
			case FIVE:
				convRank = "5";
				break;
			case FOUR:
				convRank = "4";
				break;
			case THREE:
				convRank = "3";
				break;
			case TWO:
				convRank = "2";
				break;
		}
		
		return convRank;
	}
}
